package com.wanczy.service.impl;


import com.wanczy.dao.factory.UserTableDAOFactory;
import com.wanczy.pojo.UserTable;
import com.wanczy.service.UserSingleService;

public class UserSingleServiceImpl implements UserSingleService{

	@Override
	public UserTable findById(int userId) {
		
		return UserTableDAOFactory.getUserTableDAOInstence().findById(userId);
	}

	@Override
	public boolean doUpd(UserTable userTable) {
		
		return UserTableDAOFactory.getUserTableDAOInstence().doUpd(userTable);
	}
	
}
